using System.Net;

namespace PublicProject.PublicClass.ExtensionException;
public class ExceptionWithStatus : Exception
{
    public HttpStatusCode HttpStatusCode { get; set; }
    public ExceptionWithStatus(HttpStatusCode httpStatusCode, string message) : base(message)
    {
        this.HttpStatusCode = httpStatusCode;
    }
}